docs: Add documentation for alpha() in CSS
authorSebastian Keller <sebastian-keller@gmx.de>
Fri, 10 Feb 2012 22:55:18 +0000 (23:55 +0100)
committerBenjamin Otte <otte@redhat.com>
Sat, 11 Feb 2012 00:48:03 +0000 (01:48 +0100)
gtk/gtkcssprovider.c

index 5140e20985422771eaa60891bfe2a1bbe435b1f9..b1134f68ce72c7ef0dcda330386b053b2f981bdd 100644 (file)
  *         <entry>darker(@color)</entry>
  *         <entry>A darker variant of @color</entry>
  *       </row>
+ *       <row>
+ *         <entry>alpha(@color, @f)</entry>
+ *         <entry>Modifies passed color's alpha by a factor @f. @f is a
+ *                floating point number. @f < 1.0 results in a more transparent
+ *                color while @f > 1.0 results in a more opaque color.
+ *         </entry>
+ *         <entry>alhpa(blue, 0.5)</entry>
+ *       </row>
  *     </tbody>
  *   </tgroup>
  * </informaltable>